<?php
// +----------------------------------------------------------------------
// | my
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2022 http://baiyf.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: $this <498944516@qq.com>
// +----------------------------------------------------------------------
namespace app\admin\model;

use think\Model;

class WeRob extends Model
{

   
    /**
     * 获取机器人
     */
    public function index($data=''){
    	
       
       switch ($data['keyword']) {
          case '@':
            $reply= $this->login($data);
            break;
         
          
          default:
            # code...
            break;
        } 



       return $reply;
      
    }

   
   public function login($data) {

        return ['message'=>$message];
   }

   

    
}